<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DiscoveryLogic.DataServices.DataObjects" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DiscoveryLogic.DataServices.DataObjects" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfAccount">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Account" nillable="true" type="tns:Account" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAccount" nillable="true" type="tns:ArrayOfAccount" />
  <xs:complexType name="Account">
    <xs:sequence>
      <xs:element minOccurs="0" name="AccountNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Balance" type="xs:double" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="LastTransactionAmount" type="xs:double" />
      <xs:element minOccurs="0" name="LastTransactionDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="MinimumPayment" type="xs:double" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="NextPaymentAmount" type="xs:double" />
      <xs:element minOccurs="0" name="NextPaymentDueDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Type" type="tns:AccountType" />
      <xs:element minOccurs="0" name="VisualPath" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Account" nillable="true" type="tns:Account" />
  <xs:simpleType name="AccountType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Savings" />
      <xs:enumeration value="CreditCard" />
      <xs:enumeration value="Mortgage" />
      <xs:enumeration value="Plan401k" />
      <xs:enumeration value="FiveTwoNine" />
      <xs:enumeration value="Investments" />
      <xs:enumeration value="Checking" />
      <xs:enumeration value="RetirementPlanner" />
      <xs:enumeration value="TradeHistory" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="AccountType" nillable="true" type="tns:AccountType" />
  <xs:complexType name="ArrayOfBillPayee">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BillPayee" nillable="true" type="tns:BillPayee" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBillPayee" nillable="true" type="tns:ArrayOfBillPayee" />
  <xs:complexType name="BillPayee">
    <xs:sequence>
      <xs:element minOccurs="0" name="AccountNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="History" nillable="true" type="tns:ArrayOfBillPayment" />
      <xs:element minOccurs="0" name="IsRecurring" type="xs:boolean" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BillPayee" nillable="true" type="tns:BillPayee" />
  <xs:complexType name="ArrayOfBillPayment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="BillPayment" nillable="true" type="tns:BillPayment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfBillPayment" nillable="true" type="tns:ArrayOfBillPayment" />
  <xs:complexType name="BillPayment">
    <xs:sequence>
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="FromAcc" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Payment" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="BillPayment" nillable="true" type="tns:BillPayment" />
  <xs:complexType name="MortgageAccount">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:Account">
        <xs:sequence>
          <xs:element minOccurs="0" name="AmountPastDue" type="xs:double" />
          <xs:element minOccurs="0" name="InterestRate" type="xs:double" />
          <xs:element minOccurs="0" name="NextPaymentInterest" type="xs:double" />
          <xs:element minOccurs="0" name="NextPaymentPrincipal" type="xs:double" />
          <xs:element minOccurs="0" name="PaymentSchedule" nillable="true" type="tns:AmortizationSchedule" />
          <xs:element minOccurs="0" name="ProjectedPaymentCompleteDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="TaxValueHouse" type="xs:double" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MortgageAccount" nillable="true" type="tns:MortgageAccount" />
  <xs:complexType name="AmortizationSchedule">
    <xs:sequence>
      <xs:element minOccurs="0" name="AnnualInterestRate" type="xs:double" />
      <xs:element minOccurs="0" name="FinalBalloonPayment" type="xs:double" />
      <xs:element minOccurs="0" name="PeriodicInterestRate" type="xs:double" />
      <xs:element minOccurs="0" name="PrincipalBorrowed" type="xs:double" />
      <xs:element minOccurs="0" name="RegularPaymentAmount" type="xs:double" />
      <xs:element minOccurs="0" name="ScheduleId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TermInYears" type="xs:int" />
      <xs:element minOccurs="0" name="TotalInterestAsPercentOfPrincipal" type="xs:double" />
      <xs:element minOccurs="0" name="TotalPayments" type="xs:int" />
      <xs:element minOccurs="0" name="TotalRepaid" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="AmortizationSchedule" nillable="true" type="tns:AmortizationSchedule" />
  <xs:complexType name="InvestmentPortfolio">
    <xs:sequence>
      <xs:element minOccurs="0" name="PortfolioValue" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="InvestmentPortfolio" nillable="true" type="tns:InvestmentPortfolio" />
  <xs:complexType name="ArrayOfStatement">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Statement" nillable="true" type="tns:Statement" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfStatement" nillable="true" type="tns:ArrayOfStatement" />
  <xs:complexType name="Statement">
    <xs:sequence>
      <xs:element minOccurs="0" name="Abbreviation" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreditAvailable" type="xs:double" />
      <xs:element minOccurs="0" name="EndDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="OverLimitAmount" type="xs:double" />
      <xs:element minOccurs="0" name="PaymentDueDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="StartDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Title" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Transactions" nillable="true" type="tns:ArrayOfTransaction" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Statement" nillable="true" type="tns:Statement" />
  <xs:complexType name="ArrayOfTransaction">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Transaction" nillable="true" type="tns:Transaction" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfTransaction" nillable="true" type="tns:ArrayOfTransaction" />
  <xs:complexType name="Transaction">
    <xs:sequence>
      <xs:element minOccurs="0" name="Amount" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Balance" type="xs:double" />
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Deposit" type="xs:double" />
      <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="InfoTreatmentIndicator" type="xs:boolean" />
      <xs:element minOccurs="0" name="Withdrawal" type="xs:double" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Transaction" nillable="true" type="tns:Transaction" />
</xs:schema>